package br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.admin;

import com.gwtext.client.widgets.Panel;
import com.gwtext.client.widgets.layout.FitLayout;

/**
 * @author Renato Miceli
 */
public abstract class GenericTabPanel extends Panel {
	
	public GenericTabPanel() {
		this.setAutoScroll(true);
		this.setClosable(true);
		this.setBorder(false);
		this.setPaddings(15);
		this.setLayout(new FitLayout());
	}
	
	@Override
	public String getItemId() {
		return getTabId();
	}
	
	public abstract String getTabId();

}
